package com.etc.entity;

public class Foods {
    private Integer fid;

    private String fname;

    private String fimg;

    private String fcontent;

    private Double fprice;

    private Integer rid;

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname == null ? null : fname.trim();
    }

    public String getFimg() {
        return fimg;
    }

    public void setFimg(String fimg) {
        this.fimg = fimg == null ? null : fimg.trim();
    }

    public String getFcontent() {
        return fcontent;
    }

    public void setFcontent(String fcontent) {
        this.fcontent = fcontent == null ? null : fcontent.trim();
    }

    public Double getFprice() {
        return fprice;
    }

    public void setFprice(Double fprice) {
        this.fprice = fprice;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

	public Foods(Integer fid, String fname, String fimg, String fcontent, Double fprice, Integer rid) {
		super();
		this.fid = fid;
		this.fname = fname;
		this.fimg = fimg;
		this.fcontent = fcontent;
		this.fprice = fprice;
		this.rid = rid;
	}
    public Foods() {
	}

	@Override
	public String toString() {
		return "Foods [fid=" + fid + ", fname=" + fname + ", fimg=" + fimg + ", fcontent=" + fcontent + ", fprice="
				+ fprice + ", rid=" + rid + "]";
	}
}